package com.gmail.hasszhao.testvolley;


import android.app.ProgressDialog;
import android.support.v4.app.FragmentActivity;

public class BasicActivity extends FragmentActivity {


    private ProgressDialog mProgressDialog;

    protected void dismissProgressIndicator() {
        if (mProgressDialog != null) {
            mProgressDialog.dismiss();
            mProgressDialog = null;
        }
    }

    protected void showProgressIndicator() {
        mProgressDialog = ProgressDialog.show(this, null, getString(R.string.meta_loading));
    }

}
